﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sis.Entities;

namespace Sis.Repository
{
    public class CuotaRepository :MasterRepository, ICuotaRepository
    {
        public List<CuotaIsla> GetAllFromCuotas()
        {
            var query = from p in Context.CuotaIslas
                select p;
            return query.ToList();
        }


        public CuotaIsla IslaById(int id)
        {
            return Context.CuotaIslas.Find(id);

        }
    }
}
